import { defineStore } from 'pinia'
// UserState为
import type { UserState } from './store-name'







// 参数1：id
 const useUserStore = defineStore('Test', {
    state:():UserState=>({
        name:"",
        token:"",
        history:[],
        userInfo:undefined,     
    }),
    persist: true,
})

export default useUserStore